package com.imachen.basic.service;

import com.imachen.basic.dto.SmsCodeDto;

import javax.mail.MessagingException;

public interface IVerifyService {
    //生成图形验证码
    String image(String key);

    void smsCode(SmsCodeDto smsCodeDto) ;

    void emailCode(SmsCodeDto smsCodeDto) throws MessagingException;

    void binderSmsCode(SmsCodeDto smsCodeDto);
}
